package com.nd.service;

import com.nd.pojo.bean.GrouponRules;
import com.nd.pojo.bo.GroupAddBo;
import com.nd.pojo.bo.GrouponData;
import com.nd.pojo.vo.GrouponCreateVO;
import com.nd.pojo.vo.GrouponListRecordVO;
import com.nd.pojo.vo.GrouponRulesVo;

public interface GrouponService {

    GrouponRulesVo queryGrouponRulesVo(GrouponData grouponData);

    int deleteRules(GrouponRules rules);

    GrouponCreateVO addRules(GroupAddBo rules);

    void grouponUpdate(GrouponRules grouponRules);

    GrouponListRecordVO grouponListRecord(Integer page, Integer limit, String sort, String order);
}
